package oo.Day02;

/** 构造方法的演示
 * @Author XY
 * @Date 2021/8/9 11:51
 */

public class ConsDemo {
    public static void main(String[] args) {
        Student student=new Student("xy",22,"hn");
        Student student1=new Student("xx",12,"zmd");

        student.sayHi();
        student1.sayHi();

    }
}
